package mall

import (
	"fmt"
	"github.com/gin-gonic/gin"
	v1 "newbeemallStudyProject/api/vi"
)

type MallIndexRouter struct{}

func (i *MallIndexRouter) InitMallIndexRouter(router *gin.RouterGroup) {
	fmt.Println("进入到mallindex router层")
	mallIndexRouter := router.Group("v1")
	mallIndexApi := v1.ApiGroupApp.MallApiGroup.MallIndexApi
	{
		mallIndexRouter.GET("/index/infos", mallIndexApi.QueryIndex)
	}
}
